package cn.itcast.erp.dao.mapper;

import cn.itcast.erp.entity.Returnorders;

import java.util.List;

/**
 * 采购退货Mapper接口
 *
 * @author 崔凯铭, 罗宇航
 * @date 2019/6/12
 */

public interface OrdersReturnMapper {
    // 分页查询订单
    List<Returnorders> findOrders(Returnorders returnorders);

    //订单数量
    int count(Returnorders returnorders);

    //添加订单
    int insertOrders(Returnorders returnorders);

    //根据uuid查询订单
    Returnorders findOrderByUuid(Returnorders returnorders);

    //更改订单
    int updateOrder(Returnorders returnorders);

    //查询一个订单
    Returnorders findOneOrder(Long uuid);
}
